<?php
namespace app\common\model;

use think\Model;
use think\Db;
class BasicSetting extends Model
{
    // 指定表名,不含前缀
    protected $name = 'basic_setting';
    /**
     * @param array $arg
     * @param string $field
     */
    public function getListByArg(array $arg,$field='*')
    {
        return $this->where($arg)->field($field)->select();
    }
	
	 public function getListByArgOne(array $arg,$field='*')
    {
        return $this->where($arg)->field($field)->find();
    }

}
